package com.farewell.blog.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.farewell.blog.pojo.Resource;

import java.util.List;

/**
 * @author Farewell
 * @date 2021/3/4
 */
public interface ResourceMapper extends BaseMapper<Resource> {
    /**
     * 获取所有的Resource对象并统计每个对象都有多少个资源
     * @return Resource集合
     */
    List<Resource> getAllResources();
}
